package com.tongji.seller.events.utilsEvent
{
	import flash.events.Event;
	
	import mx.messaging.channels.StreamingAMFChannel;
	
	public class BubblesEvent extends Event
	{
		public static const SELECT_SCENE:String = "selectScene";
		public static const COLLECT_SCENE:String = "collectScene";
		public static const DELETE_SELECT_SCENE:String = "deleteSelectScene";
		
		public static const SELECT_PRODUCT:String = "chooseProduct";
		public static const REMOVE_PRODUCT:String = "removeProduct";
		public static const DELETE_PRODUCT:String = "deleteProduct";
		
		public static const DRAG_PRODUCT:String = "dragProduct";
		public static const EDIT_MY_SCENE:String = "editMyScene";
		public static const DELET_MY_SCENE:String = "deletMyScene";
		public static const ADD_LOCAL_IMAGE:String = "addLocalImage";
		public static const GET_ITEM_ID:String = "getItemId";
		
		public static const DELETE_UPLOAD_IMAGE:String = "deleteUploadImage";
		public static const ADD_IMAGE:String = "addProductImage";
		public static const REMOVE_COLLECT_SCENE:String = "removeCollectScene";
		public static const POP_UP_IMAGE_WIN:String = "popUpImageWin";
		private var _object:Object;

		public function get object():Object
		{
			return _object;
		}

		public function set object(value:Object):void
		{
			_object = value;
		}

		public function BubblesEvent(type:String, object:Object)
		{
			super(type, true);
			this.object = object;
		}
		
		override public function clone():Event
		{
			return new BubblesEvent(type, object);
		}
	}
}